package com.ruoyi.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆对象 dv_car
 * 
 * @author ruoyi
 * @date 2024-07-03
 */
public class DvCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long id;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNums;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String carColour;

    /** 车辆年份 */
    @Excel(name = "车辆年份")
    private Long carYear;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private String carStatus;

    /** 车辆归属 */
    @Excel(name = "车辆归属")
    private String carAff;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }
    public void setCarNums(String carNums) 
    {
        this.carNums = carNums;
    }

    public String getCarNums() 
    {
        return carNums;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setCarColour(String carColour) 
    {
        this.carColour = carColour;
    }

    public String getCarColour() 
    {
        return carColour;
    }
    public void setCarYear(Long carYear) 
    {
        this.carYear = carYear;
    }

    public Long getCarYear() 
    {
        return carYear;
    }
    public void setCarStatus(String carStatus) 
    {
        this.carStatus = carStatus;
    }

    public String getCarStatus() 
    {
        return carStatus;
    }
    public void setCarAff(String carAff) 
    {
        this.carAff = carAff;
    }

    public String getCarAff() 
    {
        return carAff;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carName", getCarName())
            .append("carNums", getCarNums())
            .append("carType", getCarType())
            .append("carColour", getCarColour())
            .append("carYear", getCarYear())
            .append("carStatus", getCarStatus())
            .append("carAff", getCarAff())
            .toString();
    }
}
